import http from "@/request/http"

const loginAPI = {
    getMsgCode(param){
        return http.get(param,'/user/getMsgCode')
    },
	regsiter(param){
        return http.post(param,'/user/register')
    },
	accountLogin(param){
        return http.post(param,'user/accountLogin')
    },
	phoneNumLogin(param){
        return http.post(param,'user/phoneNumLogin')
    }
}

export default loginAPI